<?php

/**
 * descript:
 * User: blue
 * Date: 2018/9/14 15:19
 */

namespace app\api\controller\v1;

use app\library\base\BaseController;
use think\facade\Request;


class Rule extends BaseController
{
    //设置验证器,必须为完整的类路径
    protected $validname="\\app\\api\\validate\\RuleValid";
    protected $modelName="\\app\\api\\model\\Rule";

    //前置方法['only','xx']xx名称必须为小写!!!!!
    protected $beforeActionList=[
        'checkAuth'=>['only'=>'addc,updatec,delc']
    ];


}